package com.kz.entity;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author zk
 * @since 2020-11-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class YcreBig extends Model<YcreBig> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 位置号
     */
    private String locationId;

    /**
     * 销售
     */
    private String selesman;
    /**
     * 客服
     */
    private String serviceman;

    /**
     * 操作
     */
    private String operation;

    /**
     * 品名
     */
    private String itemName;

    /**
     * 应收
     */
    private Double receivable;

    /**
     * 应付
     */
    private Double copeWith;

    /**
     * 运输数量
     */
    private String carriageNum;

    /**
     * 利润
     */
    private Double profit;

    /**
     * 操作费
     */
    private Double operationCost;


    /**
     * 往来账户
     */
    private String openAccount;

    /**
     * 备注
     */
    private String remarkInfo;

    /**
     * 删除
     */
    private String deleted;

    /**
     * 费用集合
     */
    private List<YcreCost> costList;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
